package com.opal.system.entity;

import lombok.Data;

import java.util.List;

@Data
public class ClockInQueryForm {

    //组织编号
    private String pkOrg;

    //名字判断
    private String pkPsndoc;

    //部门编号
    private List<String> pkDeptV;

    //员工编码
    private String pkCode;

    private String startTime;

    private String endTime;

    private Integer firstIndex;

    private Integer lastIndex;


	public void setPkPsndoc(String pkPsndoc) {
        if (pkPsndoc == null || pkPsndoc.length() <= 0) {
            this.pkPsndoc = null;
        } else {
            this.pkPsndoc = "%" + pkPsndoc + "%";
        }
    }

    public void setPkCode(String pkCode) {
        if (pkCode == null || pkCode.length() <= 0) {
            this.pkCode = null;
        } else {
            this.pkCode = "%" + pkCode + "%";
        }
    }
}
